package iblink.event;

import iblink.core.ScannerData;

import java.util.ArrayList;
import java.util.List;
import packutil.event.AEvent;

public class ScannerDataResponseEvent extends AEvent {

	protected List<ScannerData> scannerDataList = new ArrayList<ScannerData>();

	public ScannerDataResponseEvent(int eventId,
			final List<ScannerData> scannerDataList) {
		super(eventId);
		this.scannerDataList = scannerDataList != null ? scannerDataList
				: new ArrayList<ScannerData>();
	}

	public List<ScannerData> getScannerDataList() {
		return scannerDataList;
	}
}